{% extends "../../bocore/admin/master.html" %}
{% block title %}{% end %}
{% block header%}{% end %}
{% block sidebar_header %}{% end %}
{% block content_header_title%}我的相册{% end %}
{% block content_header_breadcrumb%}{% end %}
{% block content_body%}
<div id="demo-gallery"></div>
{% end %}
{% block footer%}
<script type="text/javascript">
    $(function(){
        $.get("{{api('gallery_demo_data')}}", {}, function(rsp){
            console.log(rsp);
            $("#demo-gallery").html(rsp.data);
            $("#demo-gallery").justifiedGallery();
        }, "json");
    });

</script>
{% end %}